<?php

use \App\HttpController\Router;

//前台
Router::group(['prefix'=>'','namespace'=>'Web'],function (){
    Router::get('/', 'IndexController');
    Router::get('go','IndexController/test');
});

Router::group(['prefix'=>'api','namespace'=>'Web'],function (){
    Router::get('count','IndexController/count');
    Router::get('count/day','IndexController/countDay');

    Router::get('photo','IndexController/photo');
});
